import React from 'react';  // 引入了react
// 此文件是该项目得入口文件
import ReactDOM from 'react-dom/client'; // 引入了react-dom 将dom和react进行关联的核心库
import './index.css';// 引入了全局的样式文件
import App from './pages/app'; // 引入了app组件
import 'react-vant/es/styles';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <App />
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals

